package com.g4.shoppingsingle.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品表
 * </p>
 *
 * @author admin
 * @since 2021-10-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dd_product_info")
public class DdProductInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商品名称
     */
    @TableField("pd_name")
    private String pdName;

    /**
     * 商品类型
     */
    @TableField("pd_type")
    private Integer pdType;

    /**
     * 商品图片
     */
    @TableField("pd_image")
    private String pdImage;

    /**
     * 优势特点词
     */
    @TableField("advantage")
    private String advantage;

    /**
     * 促销词
     */
    @TableField("promotion")
    private String promotion;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;


}
